package com.carcenter.store;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
//工具feign；
@EnableFeignClients(basePackages = {"com.personnel.client","com.order.client"})
@MapperScan("com.carcenter.store.mapper")
//3个包，工具feign,本模块包，公共模块包；
@ComponentScan({"com.personnel.client","com.order.client","com.carcenter.store","com.carcenter.common"})


public class StoreApp {
    public static void main(String[] args) {
        SpringApplication.run(StoreApp.class, args);
    }

//http://localhost:8080/xxl-job-admin/
//http://192.168.126.102:9412
}
